package com.bridgeintelligent.tag.engine.api.rsp;

import lombok.Data;
import lombok.RequiredArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain=true)
@RequiredArgsConstructor(staticName = "of")
public class Page<T> {
    //内容
    private List<T> content;
    //总页数
    private Integer totalPages;
    //总元素数
    private Long totalElements;
    //每页条数
    private Integer size;
    //请求页
    private Integer requestPager;
}